package cn.itcast.lucene.service.impl;

import cn.itcast.lucene.mapper.LuceneMapper;
import cn.itcast.lucene.pojo.JobInfo;
import cn.itcast.lucene.service.LuceneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LuceneServiceImpl implements LuceneService {

    @Autowired
    private LuceneMapper luceneMapper;


    //全查
    public List<JobInfo> findAll() {
        return luceneMapper.selectAll();
    }
}
